﻿<Window x:Class="Agnes.Core.SaveDialog"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" 
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008" 
        mc:Ignorable="d" 
        Title="Agnes Personal Application Platform"
        ResizeMode="NoResize"
        SizeToContent="WidthAndHeight"
        d:DesignHeight="344" d:DesignWidth="487" WindowStartupLocation="CenterScreen">
    <Grid Margin="15">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <TextBlock Text="是否保存对以下各项的更改?" />
        <ListBox x:Name="lbTags" Grid.Row="1" Margin="0,10,0,0" MinHeight="200" MinWidth="400"/>
        <StackPanel Margin="10" Grid.Row="2" Orientation="Horizontal" FlowDirection="RightToLeft">
            <Button Content="取消" MinWidth="80" MinHeight="25" Click="Cancel" />
            <Button Content="不保存" MinWidth="80" Margin="10,0,0,0" Click="DoNotSave" />
            <Button Content="保存" MinWidth="80" Margin="10,0,0,0" Click="Save" x:Name="btnSave"/>
        </StackPanel>
    </Grid>
</Window>
